package org.springframework.zp.autowired;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * spring 当中各种注入的写法和区别对比
 */
@Slf4j(topic = "e")
@Component("a")
public class SpringBeanInfoTest {
	@Autowired
	AnnotationAutowiredFiledBeanTest autowiredFiledBeanTest;

	public void printf() {
		log.info("[printf],输出 @Autowired 引入的类信息 begin");
		log.info("###### autowiredFiledBeanTest=[{}]", autowiredFiledBeanTest);
		log.info("[printf],输出 @Autowired 引入的类信息 end");
	}

}
